(texinfo-chapter-level-regexp)
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Dec 2000 16:35:04 +0000 (16:35 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Dec 2000 16:35:04 +0000 (16:35 +0000)
(texinfo-filter): Removed (moved to texinfo.el).

lisp/textmodes/texnfo-upd.el

index 0c59eadfcc75c9f7216523fa236befe771a112c7..f964e411aa634865d8c21a487f18096bd2cb8db0 100644 (file)
@@ -1122,15 +1122,6 @@ end of that region; it limits the search."
   "^@\\(chapter \\|sect\\|subs\\|subh\\|unnum\\|major\\|chapheading \\|heading \\|appendix\\)"
   "Regexp matching chapter, section, other headings (but not the top node).")
 
-(defun texinfo-filter (section list)
-  (let (res)
-    (dolist (x list) (if (eq section (cadr x)) (push (car x) res)))
-    res))
-
-(defvar texinfo-chapter-level-regexp
-  (regexp-opt (texinfo-filter 2 texinfo-section-list))
-  "Regular expression matching just the Texinfo chapter level headings.")
-
 (defvar texinfo-section-level-regexp
   (regexp-opt (texinfo-filter 3 texinfo-section-list))
   "Regular expression matching just the Texinfo section level headings.")